prefix=/usr
USRBINDIR=$(prefix)/bin

CXX = gcc
CPPFLAGS =`pkg-config --cflags farsight2-0.10`
CXXFLAGS =`pkg-config --libs farsight2-0.10` -Wall
LDFLAGS =
INSTALL = install

OBJS = simple-call.o


all: simple-call-example

simple-call-example: $(OBJS)
	$(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS) $(OBJS)

clean:
	rm -f simple-call-example *.o *~ core *.core

install :
	$(INSTALL) -m 755 simple-call-example $(USRBINDIR)/simple-call-example
